package com.o2opuzi.lib.db;

import java.util.ArrayList;
import java.util.List;

public class Cols {
	
	private List<String> cols = new ArrayList<String>();

	public Cols(List<String> cols) {
		String[] colsarray  = new String[cols.size()];
		cols.toArray(colsarray);
		addCols(colsarray);
	}

	
	private void  addCols(String...cols){
		for (int i = 0; i < cols.length; i++) {
			this.cols.add(cols[i]);
		}
	}
	
	public Cols(String...cols) {
		addCols(cols);
	}
	
	public Object[] getColsArray(){
		return this.cols.toArray();
	}
	
	
	
	
	
}
